import request from '@/utils/request'

// 查询任务信息管理列表
export function listJobinformation(query) {
  return request({
    url: '/rescheduling/jobinformation/list',
    method: 'get',
    params: query
  })
}

// 查询任务信息管理详细
export function getJobinformation(waferId) {
  return request({
    url: '/rescheduling/jobinformation/' + waferId,
    method: 'get'
  })
}

// 新增任务信息管理
export function addJobinformation(data) {
  return request({
    url: '/rescheduling/jobinformation',
    method: 'post',
    data: data
  })
}

// 修改任务信息管理
export function updateJobinformation(data) {
  return request({
    url: '/rescheduling/jobinformation',
    method: 'put',
    data: data
  })
}

// 删除任务信息管理
export function delJobinformation(waferId) {
  return request({
    url: '/rescheduling/jobinformation/' + waferId,
    method: 'delete'
  })
}
